import { appAxios } from "../hooks/request/index.js";
// 员工管理-新增
export function employeeMentAdd (data) {
  return appAxios({ url: '/employee/add', method: 'POST', data: { ...data } })
}
// 员工管理-查询单个详情
export function employeeMentQueryOne (id) {
    return appAxios({ url: '/employee/query_one', method: 'GET', params: { id: id } })
}
// 员工管理-编辑
export function employeeMentEdit (data) {
    return appAxios({ url: '/employee/edit', method: 'POST', data: { ...data } })
}
// 员工管理-删除
export function employeeMentDelete (id) {
    return appAxios({ url: '/employee/del', method: 'GET', params: { id: id } })
}
